<h2>Change Password</h2>

<form action="" method="post">
	<?php if ( $error['user_pass_error'] ): ?>
		<p><i>Wrong old password</i></p>
	<?php endif; ?>
	<?php if ( $error['user_pass'] ): ?>
		<p><i>Password length should be 4 to 23 characters long, consisting of a-z0-9_.</i></p>
	<?php endif; ?>
	<p>Old Password:<br /><input type="password" name="user_pass" /></p>
	
	<?php if ( $error['user_pass_new'] ): ?>
		<p><i>Password length should be 4 to 23 characters long, consisting of a-z0-9_.</i></p>
	<?php endif; ?>
	<?php if ( $error['user_pass_copy'] ): ?>
		<p><i>Passwords does not match</i></p>
	<?php endif; ?>
	<p>New Password:<br /><input type="password" name="user_pass_new" /></p>
	<p><input type="password" name="user_pass_copy" /></p>
	
	<p><input type="submit" value="Change password" /></p>
</form>